package cn.com.xiaoshoujia.user.entity;

import java.util.Date;

/**
 * @Author: yangrui
 * @Description:单买团
 * @Date: 下午4:28 2017/7/27
 */
public class ActivityTeamSingle {
    private Long id; //bigint(20) NOT NULL,
    private Long fkActivitiesId; //bigint(20) NOT NULL DEFAULT '-1',
    private Integer status; //int(2) NOT NULL DEFAULT '0' COMMENT '0 待处理，1 单买成功，2 单买失败',
    private Date createTime; //datetime DEFAULT NULL,
    private Date finishTime; //datetime DEFAULT NULL,

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFkActivitiesId() {
        return fkActivitiesId;
    }

    public void setFkActivitiesId(Long fkActivitiesId) {
        this.fkActivitiesId = fkActivitiesId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    @Override
    public String toString() {
        return "ActivityTeamSingle{" +
                "id=" + id +
                ", fkActivitiesId=" + fkActivitiesId +
                ", status=" + status +
                ", createTime=" + createTime +
                ", finishTime=" + finishTime +
                '}';
    }

    public ActivityTeamSingle() {
    }

    public ActivityTeamSingle(Long fkActivitiesId, Integer status, Date createTime) {
        this.fkActivitiesId = fkActivitiesId;
        this.status = status;
        this.createTime = createTime;
    }

    public ActivityTeamSingle(Long id, Date finishTime) {
        this.id = id;
        this.finishTime = finishTime;
    }
}
